<?php
require_once 'pages/TMSBackOfficePage.inc';

class TMSOAuthTokenPage extends TMSBackOfficePage {
	/**
	 * @var TYandexDirectPublisher
	 */
	protected $_ioc_yandex_publisher_;
	
	public function http_SetToken($access_token, $expires_in = null){
		$this->YandexPublisher->SetToken($access_token, $expires_in);
	}
	
	public function NeedsToken(){
		return $this->YandexPublisher->NeedsToken();
	}
}